package com.yao2san.simdif.bean.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yao2san.simdif.entity.History;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
public class HistoryListRes extends History {
    private String ds1Name;
    private String ds2Name;
    private String ds1Database;
    private String ds2Database;
    private Long ds1SyncId;
    private Long ds2SyncId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ds1LastSyncTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ds2LastSyncTime;

}
